var log = wx.getRealtimeLogManager ? wx.getRealtimeLogManager() : null
module.exports = {
  info(){
    if(!log) return
    console.log(arguments)
    log.info.apply(log,arguments)
  },
  warn(){
    if(!log) return
    console.log(arguments)
    log.warn.apply(log,arguments)
  },
  error(){
    if(!log) return
    console.log(arguments)
    log.error.apply(log,arguments)
  },
}